using System;

namespace BTKERP.Model
{
	#region Outlet
	/// <summary>
	/// This object represents the properties and methods of a Outlet.
	/// </summary>
	[Serializable]
	public class Outlet
	{
		protected Guid _id;
		protected string _name = String.Empty;
		protected string _description = String.Empty;
		protected Guid _warehouseId;
		protected string _address1 = String.Empty;
		protected string _address2 = String.Empty;
		protected string _address3 = String.Empty;
		protected string _fax = String.Empty;
		protected string _tel = String.Empty;
		protected string _postCode = String.Empty;
		protected Guid _countryId;
		protected Guid _cityId;
		protected int _manager;
		protected string _pOSLocationCode = String.Empty;
		protected DateTime _createdOn;
		protected string _createdBy = String.Empty;
		protected DateTime _updatedOn;
		protected string _updatedBy = String.Empty;
		protected bool _isDeleted;
		
		public Outlet()
		{
		}
		
		#region Public Properties
		public Guid Id
		{
			get {return _id;}
			set { _id = value;}
		}
		
		public string Name
		{
			get {return _name;}
			set {_name = value;}
		}

		public string Description
		{
			get {return _description;}
			set {_description = value;}
		}

		public Guid WarehouseId
		{
			get {return _warehouseId;}
			set {_warehouseId = value;}
		}

		public string Address1
		{
			get {return _address1;}
			set {_address1 = value;}
		}

		public string Address2
		{
			get {return _address2;}
			set {_address2 = value;}
		}

		public string Address3
		{
			get {return _address3;}
			set {_address3 = value;}
		}

		public string Fax
		{
			get {return _fax;}
			set {_fax = value;}
		}

		public string Tel
		{
			get {return _tel;}
			set {_tel = value;}
		}

		public string PostCode
		{
			get {return _postCode;}
			set {_postCode = value;}
		}

		public Guid CountryId
		{
			get {return _countryId;}
			set {_countryId = value;}
		}

		public Guid CityId
		{
			get {return _cityId;}
			set {_cityId = value;}
		}

		public int Manager
		{
			get {return _manager;}
			set {_manager = value;}
		}

		public string POSLocationCode
		{
			get {return _pOSLocationCode;}
			set {_pOSLocationCode = value;}
		}

		public DateTime CreatedOn
		{
			get {return _createdOn;}
			set {_createdOn = value;}
		}

		public string CreatedBy
		{
			get {return _createdBy;}
			set {_createdBy = value;}
		}

		public DateTime UpdatedOn
		{
			get {return _updatedOn;}
			set {_updatedOn = value;}
		}

		public string UpdatedBy
		{
			get {return _updatedBy;}
			set {_updatedBy = value;}
		}

		public bool IsDeleted
		{
			get {return _isDeleted;}
			set {_isDeleted = value;}
		}
		#endregion
		
	}
	#endregion
}
